<!-- 条目复核通过或返回modal -->
<div class="modal-dialog modal-lg">
  <div class="modal-content">
    <div class="modal-header">
      <button type="button" class="close" data-dismiss="modal" (click)="closeModal()">
        <span aria-hidden="true">&times;</span>
      </button>
      <h4 *ngIf="showTip==1||showTip==3" class="modal-title">复核通过</h4>
      <h4 *ngIf="showTip==2||showTip==4" class="modal-title">返回</h4>
    </div>

    <div class="modal-body">
      <div class="row" style="margin-bottom:10px">
        <div class="col-md-12">
          <div class="box box-solid">
            <div *ngIf="showTip==1||showTip==2" class="box-header with-border">
              <h3 class="box-title">流程信息</h3>
            </div>
            <!-- /.box-header -->
            <div *ngIf="showTip==1||showTip==2" class="box-body">
              <table class="table table-bordered table-hover">
                <thead>
                  <tr>
                    <th class="width-20">操作日期</th>
                    <th class="width-20">操作流程</th>
                    <th class="width-20">操作人</th>
                    <th class="width-20">处理状态</th>
                    <th class="width-20">备注</th>
                  </tr>
                </thead>
                <tbody>
                  <tr *ngFor="let item of listData;let index = index">
                    <td class="short_name" [attr.title]="item.dOprDate">{{item.sOprDate}}</td>
                    <td class="short_name" [attr.title]="item.sFlowStepZh">{{item.sFlowStepZh}}</td>
                    <td class="short_name" [attr.title]="item.sOprZh">{{item.sOprZh}}</td>
                    <td class="short_name" [attr.title]="item.sOprStateZh">{{item.sOprStateZh}}</td>
                    <td class="short_name" [attr.title]="item.sOprMark">{{item.sOprMark}}</td>
                  </tr>
                </tbody>
              </table>
            </div>

            <!-- <div class="box box-solid">
              <div class="box-header with-border">
                <h3 class="box-title">操作确认</h3>
              </div>
              <div class="box-body">
                <p *ngIf="showTip==1||showTip==3">是否对所选风险条目复核通过？</p>
                <p *ngIf="showTip==2||showTip==4">是否返回所选中条目？</p>
              </div>
            </div> -->

            <div class="box box-solid">
              <div class="box-header with-border">
                <h3 class="box-title">提醒信息</h3>
              </div>
              <div class="box-body">
                <form class="form-inline">
                  <div class="box box-default">
                    <div class="form-group col-lg-12 col-md-12 col-sm-12 col-xs-12" style="padding-left:0px;margin-bottom:8px !important;">
                      <div class="row">
                        <div class="col-md-2">
                          <label class="control-label">提醒人：</label>
                        </div>
                        <div class="col-md-10" style="margin-left:-25px;">
                          <input title="{{displayName}}" disabled [(ngModel)]="displayName" name="auditOpr" type="text" class="form-control" placeholder="提交人">
                          <button (click)="showModal(showTip)" class="btn btn-xs btn-default">
                            <i class="fa fa-search"></i>
                          </button>
                          <button class="btn btn-primary" (click)="setDefault()">设置默认</button>
                          <label style="vertical-align:center" for="sms">短信提醒：</label>
                          <div class="checkbox checkbox-primary">
                            <input type="checkbox" id="sms" [(ngModel)]="sSMSFlag" name="sSMSFlag">
                            <label></label>
                          </div>
                          <label style="vertical-align:center" for="email">邮件提醒：</label>
                          <div class="checkbox checkbox-primary">
                            <input type="checkbox" id="email" [(ngModel)]="sEmailFlag" name="sEmailFlag">
                            <label></label>
                          </div>
                        </div>
                      </div>

                    </div>
                    <div class="form-group col-lg-12 col-md-12 col-sm-12 col-xs-12" style="padding-left:0px;margin-bottom:8px !important;">
                      <div class="row">
                        <div class="col-md-2">
                          <label class="control-label">标题：</label>
                        </div>
                        <div class="col-md-10" style="margin-bottom:10px;margin-left:-25px">

                          <input [(ngModel)]="postbody.auditContentBean.title" name="title" maxlength="100" type="text" style="width:100%" class="form-control" placeholder="标题">
                        </div>


                        <div class="col-md-2">
                          <label class="control-label">提醒内容：</label>
                        </div>
                        <div class="col-md-10">
                          <textarea [(ngModel)]="postbody.auditContentBean.content" maxlength="2000" name="content" rows="8" style="width:100%;margin-left:-25px"></textarea>
                        </div>
                      </div>
                    </div>
                  </div>
                </form>
              </div>
            </div>
            <!-- /.box-body -->
          </div>
          <!-- /.box -->
        </div>
        <!-- ./col -->
      </div>
    </div>

    <div class="modal-footer">
      <button data-dismiss="modal" (click)="closeModal()" type="button" class="btn btn-default pull-left">关闭</button>
      <button (click)="saveStatus('审核')" *ngIf="showTip==1||showTip==3" type="button" class="btn btn-primary pull-right">审核</button>
      <button (click)="saveStatus('返回')" *ngIf="showTip==2||showTip==4" type="button" class="btn btn-primary pull-right">返回</button>
      <!-- <button type="button" class="btn btn-primary" (click)="saveEntry()">
          <i class="fa fa-save"></i>保存</button> -->
    </div>
  </div>
</div>


<!-- 查看提醒人modal -->

<div class="modal modal-detail" id="searchRemind">
  <div #searchRemind></div>
</div>

<!-- <div class="modal modal-detail" id="searchRemind2">
  <div #searchRemind2></div>
</div> -->